import * as http from "@/utils/request";

/**
* 上传图片
* @param {FormData} formData 上传表单数据
* @returns Promise
*/
export function uploadImage(formData) {
  return http.post('/api/admin/Upload/Image', formData, {
    headers: { 'Content-Type': 'multipart/form-data' }
  });
}